翻訳と辞書
Words near each other
・ linux documentation project
・ linux loader
・ linux network administrators' guide
・ linux user group
・ lion food
・ lions book
・ lipl
・ liquid crystal display
・ lis
・ lisa
liskov substitution principle
・ lisp
・ lisp 1
・ lisp 1.5
・ lisp 2
・ lisp a
・ lisp extended algebraic facility
・ lisp machine
・ lisp machine lisp
・ lisp object-oriented programming system


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

liskov substitution principle : FOLDOC
Liskov substitution principle
(LSP) The principle that object-oriented functions that use pointers or references to a base class must be able to use objects of a derived class without knowing it.
Barbara Liskov first wrote it as follows: If for each object o1 of type S there is an object o2 of type T such that for all programs P defined in terms of T, the behaviour of P is unchanged when o1 is substituted for o2 then S is a subtype of T.
A function that violates the LSP uses a reference to a base class and must know about all the derivatives of that base class. Such a function violates the open/closed principle because it must be modified whenever a new derivative of the base class is created.
[Liskov, B. Data Abstraction and Hierarchy, SIGPLAN Notices. 23(5), May 1988].
(2001-09-14)



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.